
#ifndef ORGANIZATIONDAO_STUB_4_WEB_H
#define ORGANIZATIONDAO_STUB_4_WEB_H

#include <string>
#include "c2cent/base/basestub4web.h"
#include "app_platform/cntl_info.h"
#include "intf_organizationdao.h"

namespace erp
{
namespace organization
{
namespace dao
{
	#define ORGANIZATIONDAO_STUB4WEB_VERSION "ERP_ORGANIZATION_DAO___ORGANIZATIONDAO__STUB4WEB_VERSION__1.0 2013-10-23 11:04:01"
    const std::string ORGANIZATIONDAO_STUB4WEB_NOUSE = ORGANIZATIONDAO_STUB4WEB_VERSION;
	
	class COrganizationDaoStub4Web : public c2cent::CBaseStub4Web, public IOrganizationDao	{
	public:
		uint32_t DeleteBranch(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint32_t option,
				const std::set<uint64_t >& branchId,
				const std::string& inReserve,
				std::string& errmsg,
				std::map<uint64_t,uint32_t >& errorCode,
				std::map<uint64_t,std::string >& errorMsg,
				std::string& outReserve
	    );
		uint32_t FindBranch(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint32_t option,
				const erp::organization::ddo::COrganizationFilterDdo& filter,
				const std::string& inReserve,
				std::string& errmsg,
				uint32_t& total,
				std::vector<erp::organization::ddo::CBranchDdo >& branch,
				std::string& outReserve
	    );
		uint32_t GetBranch(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint32_t option,
				const std::set<uint64_t >& branchId,
				const std::string& inReserve,
				std::string& errmsg,
				std::map<uint64_t,uint32_t >& errorCode,
				std::map<uint64_t,std::string >& errorMsg,
				std::map<uint64_t,erp::organization::ddo::CBranchDdo >& branch,
				std::string& outReserve
	    );
		uint32_t ModifyBranch(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint32_t option,
				const erp::organization::ddo::CBranchDdo& branch,
				const std::string& inReserve,
				std::string& errmsg,
				std::string& outReserve
	    );
	};

}
}
}
 
#endif /* ORGANIZATIONDAO_STUB_4_WEB_H */
